/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package group2assignone.ucm.manager;

import group2assignone.model.Manager;
import group2assignone.ucm.UCController;
import group2assignone.view.manager.ManagerView;

/**
 *
 * @author Natalie
 */
public class UCUIManagerMainView implements UCController
{
    private Manager man;

    public UCUIManagerMainView(Manager man)
    {
        this.man = man;
    }

    public void run()
    {
            ManagerView manView = ManagerView.getInstance();
            manView.setUsername(man.getUsername());

            manView.go();

    }

}
